<template>
    <div>
        <el-form label-width="150px" style="width:100%">
            <el-row>
                <el-col :span="24">
                    <el-form-item label="基本信息:">
                        <el-input v-model="basicInfo" />
                    </el-form-item>
                </el-col>
            </el-row>

            <el-row>
                <el-col :span="24">
                    <el-form-item label="主诉：">
                        <el-input v-model="mainDesc" />
                    </el-form-item>
                </el-col>
            </el-row>

            <el-row>
                <el-col :span="24">
                    <el-form-item label="症状描述：">
                        <el-input type="textarea" rows="5" v-model="detail" />
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row justify="space-between">
                <el-col :span="20">
                    <el-form-item label="舌苔：">
                        <el-input v-model="sheDetail" />
                    </el-form-item>
                </el-col>
                <el-col :span="4">
                    <el-upload>
                        <el-button>
                            上传识别舌苔
                        </el-button>
                    </el-upload>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="24">
                    <el-form-item label="脉象：">
                        <el-input v-model="maiDetail" placeholder="" type="textarea" rows="5" />
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col>
                    <el-form-item>
                        <el-button type="primary">
                            自诊
                        </el-button>
                    </el-form-item>
                </el-col>
            </el-row>
        </el-form>

        <hr>

        <el-form label-width="150px">
            <el-row>
                <el-form-item label="诊断参考结果：">
                    <el-input v-model="question" />
                </el-form-item>
            </el-row>
            <el-row>
                <el-form-item label="诊断参考依据：">
                    <el-input v-model="reason" />
                </el-form-item>
            </el-row>
            <el-row>
                <el-form-item label="治疗参考方案：">
                    <el-input v-model="solution" />
                </el-form-item>
            </el-row>
            <el-row>
                <el-form-item>
                    <el-button type="primary">
                        生成诊断单
                    </el-button>
                </el-form-item>
            </el-row>
        </el-form>
    </div>
</template>

<script>
export default {
    data() {
        return {
            basicInfo: "",
            mainDesc: "",
            detail: "",
            sheDetail: "舌苔：   舌质：   舌形：  ",
            maiDetail: "左（寸：  关： 尺： ）\n右（寸：  关： 尺： ）\n主："
        }
    }
}
</script>